package com.itcast.springboot.waste_recovery.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 垃圾数据表
 * </p>
 *
 * @author 小破烂
 * @since 2020-08-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="WasteData对象", description="垃圾数据表")
public class WasteData implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "waste_id", type = IdType.AUTO)
    @ApiModelProperty(value = "废品id")
    private Integer wasteId;

    @ApiModelProperty(value = "废品种类id")
    private Integer classificationId;

    @ApiModelProperty(value = "废品名")
    private String wasteName;

    @ApiModelProperty(value = "废品单价")
    private Float wasteUnitPrice;

    @ApiModelProperty(value = "废品图片路径")
    private String wasteUrl;

}
